<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-box.css">
    <link rel="stylesheet" href="css/ui-color.css">
	<link rel="stylesheet" href="css/ui-res.css">
	<link rel="stylesheet" href="css/ui-img.css">
	<link rel="stylesheet" href="css/ui-tab.css">
    <script src="js/zy_control.js"></script>
    <script src="js/zy_click.js"></script>
	<script src="js/base.js"></script>
	
    <script></script>
</head>
<body class="um-vp c-wh" ontouchstart>
    <div id="page_0" class="up ub ub-ver" tabindex="0">
        <!--header开始-->
        <div id="header" class="uh  t-wh ub" style="background-color:#222a38;"  >
        	<div class="umw4  ver-txc2"  ontouchstart="zy_touch()" onclick="loadIndex()">
            <!--插入按钮控件--><img  class=" mar-l5 max-w1 max-h1" src="css/img/arrow2.png">
        	</div>
            <h1 id="title" class="ut ub-f1 ulev0 ut-s tx-c">我的关注</h1>
			<div class="umw4 imgWriter" ontouchstart="zy_touch()" onclick="publicWeibo()">
            <!--插入按钮控件-->
        	</div>
        </div>
        <!--header结束--><!--content开始-->
        <div id="content" class="ub-f1 tx-l t-bla ">
            
        </div>
        <!--content结束--><!--footer开始-->
        <div id="footer" class="uf  t-wh" style="background-color:#4a4a4a">
            <div class="ub c-bla tab t-wh" onload="init()">	
 		<input id="index" class="uhide" type="radio" name="tabSwitch" checked="true">
			<div ontouchstart="zy_touch('',zy_for)" class="ub-f1 ub ub-ver tab-act" onclick="loadWeibo('weibo')"><div class="ub-f1 ub-img5 imgNew " style="margin-top:0.2em"></div><div class="uinn ulev-2 tx-c">微博</div></div>
 		<input id="public" class="uhide" type="radio" name="tabSwitch">
			<div ontouchstart="zy_touch('',zy_for)" class="ub-f1 ub ub-ver tab-act" onclick="loadWeibo('at')"><div class="ub-f1 ub-img5 imgAt" style="margin-top:0.2em"></div><div class="uinn ulev-2 tx-c">@我</div></div>
		<input id="per" class="uhide" type="radio" name="tabSwitch">
			<div ontouchstart="zy_touch('',zy_for)" class="ub-f1 ub ub-ver tab-act" onclick="loadWeibo('comment')"><div class="ub-f1 ub-img5 imgCom" style="margin-top:0.2em"></div><div class="uinn ulev-2 tx-c">评论</div></div>
		<input class="uhide" type="radio" name="tabSwitch">
			<div ontouchstart="zy_touch('',zy_for)" class="ub-f1 ub ub-ver tab-act" onclick="loadWeibo('collect')"><div class="ub-f1 ub-img5 imgStar " style="margin-top:0.2em"></div><div class="uinn ulev-2 tx-c">收藏</div></div>
	
</div>
        </div>
        <!--footer结束-->
    </div>
</body>
<script>
zy_init();
window.uexOnload = function(type){
    if (!type) {
        zy_con("content", "weiboList_content.html", 0, $$("header").offsetHeight);
    }
	window.onorientationchange=window.onresize=function(){
		zy_resize("content",0,$$("header").offsetHeight);				
	}
	autoLogin();
	var jumpType=window.localStorage["weiboListJump"];
	if(typeof(jumpType)!="undefined"){
		loadWeibo(jumpType);
	}
	
}
function loadWeibo(type){
	if(type=='weibo'){
		zy_con("content","weiboList_content.html",0,$$("header").offsetHeight);
		$$("title").innerHTML="我的关注";
		setTimeout(function(){
			
			zy_resize("content",0,$$("header").offsetHeight);
		},1);
	}else if(type=='at'){
		zy_con("content","AtMeWeibo_content.html",0,$$("header").offsetHeight);
		$$("title").innerHTML="@我";
		setTimeout(function(){
			zy_resize("content",0,$$("header").offsetHeight);
		},1);
	}
	else if(type=='comment'){
		zy_con("content","Comment_content.html",0,$$("header").offsetHeight);
		$$("title").innerHTML="评   论";
		setTimeout(function(){
			zy_resize("content",0,$$("header").offsetHeight);
		},1);
	}
	else{
		zy_con("content","Collect_content.html",0,$$("header").offsetHeight);
		$$("title").innerHTML="收   藏";
		setTimeout(function(){
			zy_resize("content",0,$$("header").offsetHeight);
		},1);
	}
}
function closeWindow(){
	uexWindow.close();
}
function loadIndex(){
	//uexWindow.open("Indexs",0,"Indexs.html",1,"","",0,550);
	uexWindow.windowBack(1,500);
}
/**
 * 
 */
function autoLogin(){
		window.localStorage.setItem("is_me",true);
		
		var httpID=1011;
		var username="admin@admin.com";
		
		var pswd="123456";
		username=encodeURIComponent(username);
		pswd=encodeURIComponent(pswd);
			uexXmlHttpMgr.onData=function(inOpCode,inStatus,inResult){
				if(inStatus=1){
					var json=eval("(" + inResult + ")");
					if(json["success"])
					{
						uexWindow.closeToast();
						window.localStorage.setItem("session_id",json["session_id"]);
						//uexWindow.open("indexs",0,"indexs.html",1,"","",0,350);
					}
					else{
						uexWindow.toast(1,5,json["message"],500);
					}
				}
			}
			uexXmlHttpMgr.open(httpID,'get','http://www.diaoyumi.ourstu.com/api/public/login?username='+username+'&password='+pswd,3000);
			//uexWindow.setPostData(httpID,"username",window.localStorage["username"]);
			//uexWindow.setPostData(httpID,"password",window.localStorage["password"]);
			uexXmlHttpMgr.send(httpID);
	}
</script>
</html>
